﻿using System;
using ValidationFramework.Configuration.Reflection;

namespace ValidationFramework.Tests.Integration.Helpers
{
	public class AlwaysPassAttribute : RuleAttribute
	{
		public string Id { get; set; }

		public string ErrorMessage { get; set; }

		public RuleScope Scope { get; set; }

		public string RuleSet { get; set; }

		public Rule CreateRule(ICachedReflectionInfo cachedReflectionInfo)
		{
			return new Rule(new AlwaysPassValidator());
		}


        public override ISpecification CreateSpecification(ICachedReflectionInfo descriptor)
        {
            throw new NotImplementedException();
        }
    }
}
